package com.chen.pojo.entry;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author chen
 * @version 1.0
 * @create_date 2025/8/17
 * 点位表实体类
 */
@Data
@TableName("tb_node")
@Schema(description = "点位表实体类")
public class Node {

    @Schema(description = "点位ID")
    @TableId(type = IdType.ASSIGN_ID)
    private String id;

    @Schema(description = "点位名称")
    private String name;

    @Schema(description = "点位地址")
    private String addr;

    @Schema(description = "区域编码")
    private String areaCode;

    @Schema(description = "创建用户ID")
    private Integer createUserId;

    @Schema(description = "区域ID")
    private String regionId;

    @Schema(description = "业务ID")
    private Integer businessId;

    @Schema(description = "所有者ID")
    private Integer ownerId;

    @Schema(description = "所有者名称")
    private String ownerName;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}